#set($redirect =$request.getParameter("redirect"))
<form class="login" name="login" method="post" target="_self">
	<input type="hidden" name="redirect" value="$!redirect"/>
	<div class="small-r"><span>登录</span></div>
	<div class="user">
		<i class="icon icon-name name-pic"></i>
		<input type="text" class="name-in" name="j_username" size="18" required id="uname" placeholder="输入用户名">
		<span class="tip-bg">输入用户名</span>
	</div>
	<div class="user pwd">
		<i class="icon icon-password name-pic pwd-pic"></i>
		<input type="password" class="name-in password" name="j_password" size="18" required placeholder="输入密码" id="psd">
		<span class="tip-bg">输入密码</span>
	</div>
	<div class="code">
		<input name="verifyCode" autocomplete="off" type="text" size="6" maxlength="4"id="code" autocomplete="off" placeholder="输入验证码"/>
		<p class="bg"></p> 
		<img src="/servlets/vms?rgba=255,255,255,255" width="64" height="30" align="absmiddle" id="chkimg" onclick="this.src='/servlets/vms?'+Math.random()+'&rgba=255,255,255,255'" />
		<a href="javascript:void(0)" onclick="document.getElementById('chkimg').src='/servlets/vms?'+Math.random()+'&rgba=255,0,0,255';" title="看不清验证字符"> 看不清?</a>
		<span class="tip-bg">输入验证码</span>
	</div>
	#if($configvalues.get("security.rememberme",false))
	<div class="auto-login">
		<div class="checkbox">
			<input type="checkbox" name="rememberme" value="true" />
			<label for="">
				<i>
					<i class="t1"></i>
					<i class="t2"></i>
				</i>
			</label>
		</div>
		<span>365天内自动登录</span>
	</div>
	#end
	#if($message)
	<div class="login-error">
		$message
	</div>
	#end
	<button class="btn" type="submit" id="subtn">登录</button>
	<div class="two clearfix">
		<a class="float-l" href="/esvml/findpwr/index.htm">忘记登录密码</a>
		<a class="two-r float-r" href="/c/reg">免费注册</a>
	</div>
</form>
<script type="text/javascript" src="./js/responsive.js"></script>
